package com.example.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 存储引擎为InnoDB，字符集为utf8(PermissionDirectory)实体类
 *
 * @author makejava
 * @since 2025-02-23 23:17:50
 */
@Data
@TableName("permission_directory")
public class PermissionDirectory implements Serializable {
    private static final long serialVersionUID = -65818413461707383L;
    /**
     * 主键ID
     */
    @TableId
    @TableField("id")
    private Integer id;
    /**
     * 父目录ID
     */
    @TableField("parent_id")
    private Integer parentId;
    /**
     * 菜单名称
     */
    @TableField("menu_name")
    private String menuName;
    /**
     * 菜单等级
     */
    @TableField("menu_level")
    private Integer menuLevel;
    /**
     * 路由
     */
    @TableField("route")
    private String route;


}

